# 9.10 类
class Restaurant:
    def __init__(self,restaurant_name,restaurant_type):
        self.name = restaurant_name.title()
        self.type = restaurant_type
        
        self.number_of_diners = 0

    def describe_restaurant(self):
        print(f"\n{self.name} would serves wonderful {self.type}.")

    def open_restaurant(self):
        print(f"{self.name} is open. Come on in.")

    def set_number_served(self,number_served):
        self.number_of_diners = number_served

    def increment_number_served(self,prople):
        self.number_of_diners += prople